package com.lemon.smartsafety.entity.common;

import java.io.Serializable;

/**
 * Created by Cooliean on 16/3/19.
 */
public class UploadFileItem implements Serializable {
    public final static String DEL = "del";
    public final static String ADD = "add";
    public final static String COM = "com";

    public final static String EXT_JPG = "jpg";
    //type 0 1 2 3  image/voice/video/other   jpg/amr/mp4/
    public final static String TYPE_JPG = "0";

    private String fid    = "";
    private String op     = "";
    private String url    = "";
    private String base64 = "";
    private String ext    = "";
    private String type   = FileType.PHOTO.getValue();


    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getOp() {
        return op;
    }

    public void setOp(String op) {
        this.op = op;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getBase64() {
        return base64;
    }

    public void setBase64(String base64) {
        this.base64 = base64;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
